home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 4777 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.sys.amiga.hardware
  2. Path: news.sprintlink.net!eskimo!warlock
  3. From: warlock@eskimo.com (Jim Richardson)
  4. Subject: Re: MultiTasking
  5. X-Nntp-Posting-Host: eskimo.com
  6. Message-ID: <Dn7GtD.FnA@eskimo.com>
  7. Sender: news@eskimo.com (News User Id)
  8. Organization: Eskimo North (206) For-Ever
  9. X-Newsreader: NN version 6.5.0 CURRENT BETA (06/24/1995) #4
  10. References: <4ge1op$265@cdn_news.telecom.com.au>
  11. Date: Fri, 23 Feb 1996 01:44:00 GMT
  12.  
  13. gkalouts@qitgsdv1.telecom.com.au (Gregory Peter Kaloutsis) writes:
  14.  
  15. >Would some one be kind enough to post a article on the differnce
  16. >between Co-Operative & Pre-Emptive multitasking?
  17.  
  18. Co-operative (Macintosh OS)
  19.  Programs tell the OS when they are ready to give up resources
  20.  
  21. Pre-emptive (Amiga, UN!X) OS controls who gets what, even if someone is 
  22. being piggy. Often by  a priority system, rather than simply scrolling 
  23. down a list of who's nect.
  24.  The major advantage of Pre-emptive (IMNSHO) is that the particular 
  25. application doesn't have to be specifically written with multitasking 
  26. code in it. ie, when to stop and hand over resources to cpu. Under 
  27. co-operative multitasking, if one app (say, formatting a disk) hangs, 
  28. then the machine hangs since the app hasn't handed control back to the 
  29. OS. Unless the programmer took steps to ensure that the app handed 
  30. control back in case of error.
  31.  
  32.         Jim Richardson
  33.     Anarchist. pagan and proud of it.
  34.     http://www.eskimo.com/~warlock
  35.     pgp key at website
  36.